class Student(object):
    count=0
    def __init__(self,name):
        self.name=name
        Student.count=Student.count+1 #Student.count是类属性，self.count是实例的属性

aa=Student('aa')
bb=Student('bb')





